﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Itinerary.ascx.cs" Inherits="Module_Itinerary" %>
<table cellpadding="5px" id="tblItinerary" cellspacing="0px">
    <tr>
        <td style="font-size:20px; color:Green">
            &nbsp;</td>
        <td colspan=3 style="font-size:20px; color:Green">
            Hành trình chuyến bay
        </td>
    </tr>
    <tr>
        <td >
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            
        </td>
        <td>
            
        </td>
    </tr>
    <tr>
        <td colspan=4>
            <table runat=server id="tblChuyenDi">
                <tr>
        <td>
        
            Vé hàng không</td>
        <td>
        VN <%Response.Write(this.getFlightDetail(this.flightDi)._flightID.ToString()); %>
        </td>
        <td>
           giá: 
            <asp:Label ID="lblPriceDi" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td>
            Đi:<br /><%Response.Write(this.getFlightDetail(flightDi)._startTime); %>
        </td>
        <td>
            Ngày <%Response.Write(this.getFlightDetail(flightDi)._departureDate); %><br /><%Response.Write(this.getFlightDetail(flightDi)._departure); %>
        </td>
        <td>
            Mã vé: Vn<%Response.Write(this.getFlightDetail(this.flightDi)._flightID.ToString()); %>
            
        </td>
    </tr>
    <tr>
        <td>
            đến:<br /><%Response.Write(this.getFlightDetail(flightDi)._endTime); %>
        </td>
        <td>
            Ngày <%Response.Write(this.getFlightDetail(flightDi)._arrivalDate); %><br /><%Response.Write(this.getFlightDetail(flightDi)._arrival); %>
        </td>
        <td>
            Hạng dịch vụ: <%Response.Write(this.getClass(classDi)._className); %>/<%Response.Write(this.getPlane(this.getFlightDetail(flightDi)._planeID)._planeName); %>
        </td>
    </tr>
            </table>
            
        </td>
    </tr>
    <tr>
        <td>
            
            &nbsp;</td>
        <td colspan=3>
            
        </td>
    </tr>
    
    <tr>
        <td colspan=4>
            <table id="tblChuyenVe">
                <tr runat=server id="an1">
        <td >
            Vé hàng không
        </td>
        <td>
            VN <%
                     Response.Write(this.getFlightDetail(this.flightVe)._flightID.ToString());
                  %>
        </td>
        <td>
            giá: 
            <asp:Label ID="lblPriceVe" runat="server"></asp:Label>
        </td>
    </tr>
     <tr runat=server id="an2">
        <td>
            Đi:<br /><%Response.Write(this.getFlightDetail(flightVe)._startTime); %>
        </td>
        <td>
            Ngày <%Response.Write(this.getFlightDetail(flightVe)._departureDate); %><br /><%Response.Write(this.getFlightDetail(flightVe)._departure); %>
        </td>
        <td>
            Mã vé: Vn<%Response.Write(this.getFlightDetail(this.flightDi)._flightID.ToString()); %>
        </td>
    </tr>
    <tr runat=server id="an3">
        <td>
            đến:<br /><%Response.Write(this.getFlightDetail(flightVe)._endTime); %>
        </td>
        <td>
            Ngày <%Response.Write(this.getFlightDetail(flightVe)._arrivalDate); %><br /><%Response.Write(this.getFlightDetail(flightVe)._arrival); %>
        </td>
        <td>
            Hạng dịch vụ: <%Response.Write(this.getClass(classVe)._className); %>/<%Response.Write(this.getPlane(this.getFlightDetail(flightVe)._planeID)._planeName); %>
        </td>
    </tr>
            </table>
        </td>
    </tr>
            
    <tr>
        <td>&nbsp;</td>
        <td colspan=3></td>
    </tr>
    <tr>
        <td rowspan=2>
            Tổng:
        </td>
        <td rowspan=2>
            &nbsp;</td>
        <td>
            giá:
        </td>
        <td>
            &nbsp;<asp:Label ID="lblTotalPrice" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            phí phục vụ:
        </td>
        <td>
            
        </td>
    </tr>
    <tr>
        <td align=right>
            
            &nbsp;</td>
        <td colspan=2 align=right>
            
            <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Hủy chuyến bay</asp:LinkButton>
            
        </td>
        <td align=center id="btnMua">
            
            <asp:Button ID="btnMua" runat="server" Text="Mua" onclick="btnMua_Click" />
            
            <asp:Label ID="Label1" runat="server" ForeColor="Red" Text=""></asp:Label>
            
        </td>
    </tr>
</table>